export default function concatUrl(params, url) {
  let urlWith = url.includes('?') ? url : url+'?'
  for (let key of Object.keys(params)) {
    urlWith =  urlWith + '&' + key + '=' + params[key]
  }
  return urlWith
}
